package com.own.business.pay.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.pay.common.em.PayExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * PayException
 *
 * @author chenxueli
 * @date 2023-08-18 08:53:44
 */
public class PayException extends BusinessException {

    public PayException() {
        super(PayExceptionEnum.DEFAULT);
    }

    public PayException(Throwable cause) {
        super(cause);
    }

    public PayException(String message) {
        super(PayExceptionEnum.DEFAULT.code(), message);
    }

    public PayException(String code, String message) {
        super(code, message);
    }

    public PayException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public PayException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
